﻿
@{
    ViewBag.Title = "UserDetail";
    Layout = "~/Views/Shared/_ManagerLayoutPage.cshtml";

    var user = ViewData["user"] as BaseAuthRole.DTO.User.UUIUser;
}

<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-body" style="padding: 1.75rem 2.8125rem;">
                <div class="row">
                    <div class="col-md-12">
                        <p style="font-size:15px;font-weight:bold;">用户详情</p>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">姓名：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.Name
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">部门：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.Department
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">职位：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.JobTitle
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">邮箱：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.Email
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">工号：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.JobNumber
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">用户名：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.LoginName
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">手机号：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.Phone
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">绑定飞书号：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.FeiShuUid
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">状态：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @(user.Status == 1 ? "正常" : "停用")
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">注册时间：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @user.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


</div>

